<!-- {extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <h1>{$id}</h1>
        <h2>{$name}</h2>
      	<form role="form" action="{:url('/doadduj')}" method="post">
                    <div class="form-group login-input">
                    <input name="id" type="hidden" value="{$id}" />
                    {volist  $i=0 name="juese"  id="v" $i++}
                    <input name="{$i}" type="checkbox" value="{$v['uid']}"  />{$v['juese']}
                    {/volist}
                    </div>
                    </div>
                   

                    <div class="row">
                        <div class="col-sm-12">
                            <button type="submit" class="btn btn-success btn-block">提交</button>
                        </div>
                        <div class="col-sm-12">
                   
                        </div>
                    </div>
                </form>
        
    </div>
</div>

{/block} -->


{extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <h2>{$id}添加角色</h2>
        <form action="{:url('/doadduj')}" method="post">
        
            <input type="hidden" name="id" value="{$id}">
            {volist name="role" id="v" key="k"}
            
            <input type="checkbox" name="rid[]" value="{$v['uid']}" class="rows-check" {$v['check']}>{$v['juese']}<br/><br/>
            {/volist}
            <button btn btn-primary btn-sm>提交</button>


        </form>
    </div>
</div>

{/block}